package com_djm_2025_06_05.demo2;

public class Test {

    public static void main(String[] args) {
        Shape[] shapes = new Shape[3];
        shapes[0] = new Cycle();
        shapes[1] = new Flowers();
        shapes[2] = new Rect();

        for (Shape shape : shapes) {
            shape.draw();
        }
    }


}
